PB/DLL was designed primarily as an add-on product for Visual Basic for Windows. This document will walk you through the steps necessary to take part of your VB code and convert it to a fast machine-code DLL that you can then call from your Visual Basic application.
Let's start with a very simple VB program, made up of a text box, two buttons, and two routines that are called when the buttons are clicked The first button is labelled MaxInt and calls a routine that calls a VB function that compares two passed integers and returns the larger. The other button, labelled CapFirst, calls a routine that calls a VB Sub that capitalizes every word in a passed string.